//
//  SGLoginViewController.h
//  HuaMuJinRong
//
//  Created by mac on 16/4/23.
//  Copyright © 2016年 EIMS. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SGLoginTextField.h"
#import "SGLoginButton.h"

@protocol SGBackDelegate <NSObject>

- (void)backAction;

@end

typedef NS_ENUM (NSInteger, LoginType) {
    Login = 0,
    ChangeRootView, //启动程序忘记手势进入
    EnterBackground,//从后台进入
    AccountCenter,  //账户中心
    SecuritySet,    //安全设置
    CommonWeb,      //Web页面
    Logout,         //退出账号进入
    OtherLoginEnter,//其他账户登录
    RegisterEnter,  //注册完成进入
};

@interface SGLoginViewController : UIViewController

@property (nonatomic, assign) LoginType backType;

@property (nonatomic, assign) id<SGBackDelegate>delegate;

@end
